using Util;

public partial class GameInput : Singleton<GameInput>
{
    public PlayerInput.NormalActions NormalInput
    {
        get
        {
            return mPlayerInput.Normal;
        }
    }
    
    public PlayerInput.CombatActions CombatInput
    {
        get
        {
            return mPlayerInput.Combat;
        }
    } 
        
    private PlayerInput mPlayerInput;
    protected override void OnCreate()
    {
        mPlayerInput = new PlayerInput();
        registerNormalEvents();
        registerCombatEvents();
        NormalInput.Enable();
        CombatInput.Enable();
    }
}
